package com.endava.AssignmentsOperationsPresentation;

public class Ex3 {

	public static void main(String[] args) {
		int result = 1;
		result += 2; // result is now 3
		System.out.println(result);

		result -= 1; // result ar fi 2
		System.out.println(result);

		result *= 2; // result e 4
		System.out.println(result);

		result /= 2; // acum e 2
		System.out.println(result);

		result += 8; // acum e 10
		System.out.println(result);
		
		result %= 7; // acum restul e 3
		System.out.println(result);
	}

}
